package com.hoppinzq;


import com.hoppinzq.service.annotation.Hoppin;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
* @title：${title}
* @author：${auther}
* @create：${nowDate?string("yyyy-MM-dd")}
*/
<#if enableBreak>
    <#assign enableHoppinBreaker = "@EnableHoppinBreaker">
${enableHoppinBreaker}// 启动熔断器
</#if>
<#if enableBalance>
    <#assign enableHoppinBalance = "@EnableHoppinBalance">
${enableHoppinBalance}// 启动负载均衡
</#if>
<#if enableCore>
    <#assign enableHoppinCore = "@EnableHoppinCore">
${enableHoppinCore}// 启动注册中心
</#if>
@EnableHoppin
@SpringBootApplication
public class ${modelName?capitalize}Application {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(${modelName?capitalize}Application.class, args);
    }
}